﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using ECare.BUS;

namespace ECare.Client.frms
{
    public partial class frmProduceStorageQuery : frmGridTemplate
    {
        public frmProduceStorageQuery()
        {
            InitializeComponent();

            this.Load += frmProduceStorageQuery_Load;
        }

        void frmProduceStorageQuery_Load(object sender, EventArgs e)
        {
            //throw new NotImplementedException();ResourcesHelper

            resource_id_column.DataSource = ResourcesHelper.GetAllResources();
            resource_id_column.DisplayMember = "ResourceName";
            resource_id_column.ValueMember = "ResourceId";

            this.grd.DataSource = ResourcesHelper.SearchProducingStorage();

        }
    }
}
